package com.seeyon.apps.u8cloud.manager;

import com.seeyon.apps.u8cloud.model.VoucherRecord;

import java.util.List;

/**
 * @ClassName : VoucherRecordManager
 * @Description :R
 * @CreateDate : 2025/5/16 16:35
 * @Author : CheungHowrAn
 * @Version : 1.0.0
 * @PackageName com.seeyon.apps.u8cloud.manager
 * @Project : BSiEE本涩_A8_V9.0SP1
 */
public interface VoucherRecordManager {
    /**
     * @MethodName getTableName
     * @Description 获取数据库表名
     * @return: java.lang.String
     * @Author CheungHowrAn
     * @Date 2024/4/11 11:19
     */
    String getTableName();

    /**
     * @MethodName: getSuccessDataIdList
     * @Description:
     * @CreateDate: 2024/12/27 16:04
     * @Author: CheungHowrAn
     * @Params []
     * @ParamType []
     * @Return java.util.List<java.lang.Long>
     */
    List<Long> getSuccessDataIdList();

    /**
     * @MethodName: getNeedPushRecordIdList
     * @Description:
     * @CreateDate: 2024/12/27 16:04
     * @Author: CheungHowrAn
     * @Params []
     * @ParamType []
     * @Return java.util.List<java.lang.Long>
     */
    List<Long> getNeedPushRecordIdList();

    /**
     * @MethodName: saveDockingRecords
     * @Description: 保存对接记录
     * @CreateDate: 2024/12/27 16:04
     * @Author: CheungHowrAn
     * @Params [archivesRecords]
     * @ParamType [com.seeyon.apps.archives.model.ArchivesRecords]
     * @Return java.lang.Long
     */
    void saveDockingRecords(VoucherRecord voucherRecord);

    /**
     * @MethodName: getRecordIdByDataId
     * @Description: 根据OA数据主键获取记录ID
     * @CreateDate: 2024/12/27 16:32
     * @Author: CheungHowrAn
     * @Params [dataId]
     * @ParamType [java.lang.String]
     * @Return java.lang.Long
     */
    Long getRecordIdByDataId(String dataId);


}
